package com.xz.knowledgeDuplication.pattern.decorator;

/**
 * 炒面类(具体构件)
 *
 * @author 召
 * @date 2022-03-12 22:39:52
 */
public class FriedNoodles extends FastFood{

    public FriedNoodles() {
        super(8, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
